const express = require('express')
const workController = require('../controllers/workController')

const router = express.Router()

router.get('/work/get', workController.getWork)
router.get('/work/getLastWork', workController.getLastWork)
router.post('/work/saveWork', workController.saveWork)
router.post('/work/hasFinished', workController.hasFinished)
router.get('/work/allFinished', workController.allFinished)

module.exports = router
